<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.google.gson.Gson"%>
<%
	String path = request.getContextPath();
	String basePath = "/hhcommon/opensource/ext/controls/calendar/";
	Gson gson = new Gson();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<head>
<title>日程安排</title>
<link rel="stylesheet" type="text/css"
	href="/hhcommon/opensource/ext/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css"
	href="/hhcommon/opensource/ext/controls/calendar/resources/css/calendar.css" />
<link rel="stylesheet" type="text/css"
	href="/hhcommon/opensource/ext/controls/calendar/resources/css/examples.css" />
	<link rel="stylesheet" type="text/css" href="/hhcommon/css/icons.css" />
<style type="text/css">
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background-color: #fff;
	filter: alpha(opacity =   40);
	-moz-opacity: 0.4;
	opacity: 0.4;
	z-index: 2000000000001;
}

#loading {
	height: auto;
	position: absolute;
	border: 3px solid #ccc;
	left: 45%;
	top: 40%;
	padding: 2px;
	width: 190px;
	z-index: 2000000000001;
}

#loading .loading-indicator {
	background: white;
	color: #444;
	font: bold 12px Helvetica, Arial, sans-serif;
	height: auto;
	margin: 0;
	padding: 10px;
}
</style>
<script type="text/javascript" src="/hhcommon/js/global/uuid.js"></script>
</head>
<body>
	<div id="doing" class="overlay"></div>
	<div id="loading">
		<div class="loading-indicator">
			<img src="/hhcommon/images/loading/loading.gif" width="16"
				height="16"
				style="margin-right: 8px; float: left; vertical-align: top;" />正在加载，请稍后......
		</div>
	</div>


	<div style="display: none;">
		<div id="app-header-content">
			<div id="app-logo">
				<div class="logo-top">&nbsp;</div>
				<div id="logo-body">&nbsp;</div>
				<div class="logo-bottom">&nbsp;</div>
			</div>
			<h1>日程安排</h1>
			<span id="app-msg" class="x-hidden"></span>
		</div>
	</div>
</body>
<script type="text/javascript" src="/hhcommon/opensource/ext/ext-all.js"></script>
<script type="text/javascript"
	src="/hhcommon/opensource/ext/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="/hhcommon/js/global/util.js"></script>
<script type="text/javascript"
	src="/hhcommon/js/global/ExtComponentUtil.js"></script>
<script type="text/javascript" src="/hhcommon/js/base/BaseDataStore.js"></script>
<script type="text/javascript" src="/hhcommon/js/base/BaseTreeStore.js"></script>
<script type="text/javascript" src="/hhcommon/js/base/BaseTreePanel.js"></script>
<script type="text/javascript" src="/hhcommon/js/base/BaseToolbar.js"></script>
<script type="text/javascript" src="/hhcommon/js/base/BasePanel.js"></script>
<script type="text/javascript">
	static_var.loginuser = eval('(' + '<%=gson.toJson(session.getAttribute("loginuser"))%>' + ')');
	Ext.Loader.setConfig({
		enabled : true,
		paths : {
			'Ext.calendar' : '/hhcommon/opensource/ext/controls/calendar/src'
		}
	});
	Ext.require([ 'Ext.calendar.App' ]);
	Ext.onReady(function() {
		Ext.create('Ext.calendar.App');
		document.getElementById('logo-body').innerHTML = new Date().getDate();

		Doing.hidden(true);
	});

	$import([ "com.hh.global.widget.ComboBoxTree",
			"com.hh.global.widget.ComboBoxMultiTree",
			"com.hh.global.BaseSimpleTreePanel",
			"com.hh.global.SimpleTreePanel",
			"com.hh.usersystem.user.UserSelect",
			"com.hh.global.widget.RadioGroup" ]);
</script>
</html>
